package com.ruoyi.education.service;

import com.ruoyi.education.domain.Enrollment;
import java.util.List;

public interface IEnrollmentService {
    /**
     * 查询报名列表
     * 
     * @param enrollment 报名信息
     * @return 报名集合
     */
    public List<Enrollment> selectEnrollmentList(Enrollment enrollment);

    /**
     * 查询报名信息
     * 
     * @param enrollmentId 报名ID
     * @return 报名信息
     */
    public Enrollment selectEnrollmentByEnrollmentId(Long enrollmentId);

    /**
     * 新增报名
     * 
     * @param enrollment 报名信息
     * @return 结果
     */
    public int insertEnrollment(Enrollment enrollment);

    /**
     * 修改报名
     * 
     * @param enrollment 报名信息
     * @return 结果
     */
    public int updateEnrollment(Enrollment enrollment);

    /**
     * 批量删除报名
     * 
     * @param enrollmentIds 需要删除的报名ID
     * @return 结果
     */
    public int deleteEnrollmentByEnrollmentIds(Long[] enrollmentIds);

    /**
     * 删除报名信息
     * 
     * @param enrollmentId 报名ID
     * @return 结果
     */
    public int deleteEnrollmentByEnrollmentId(Long enrollmentId);
} 